package com.tanhua.dubbo.server.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "question_report")
public class Report implements Serializable {

    private ObjectId id;  //报告id

    private Long userId;  //用户

    private Integer star;   //星别（2，3，5）

    private Integer Score = 0; //总分数

    private Integer isLock = 1;  //是否锁住（0解锁，1锁住）

    private Long created; //生成报告的时间


}
